<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Constructor</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.stompframe.html">StompFrame</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.stompexception.html">StompException</a></div>
 <div class="up"><a href="class.stompframe.html">StompFrame</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="stompframe.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">StompFrame::__construct</h1>
  <p class="verinfo">(PECL stomp &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">StompFrame::__construct</span> &mdash; <span class="dc-title">Constructor</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-stompframe.construct-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>StompFrame::__construct</strong></span>
    ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$command</code></span>
   [, <span class="methodparam"><span class="type">array</span> <code class="parameter">$headers</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$body</code></span>
  ]]] )</div>

  <p class="para rdfs-comment">
   Constructor.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-stompframe.construct-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">command</code></em></dt>

     <dd>

      <p class="para">
       Frame command
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">headers</code></em></dt>

     <dd>

      <p class="para">
       Frame headers (<span class="type"><a href="language.types.array.html" class="type array">array</a></span>).
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">body</code></em></dt>

     <dd>

      <p class="para">
       Frame body.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.stompframe.html">StompFrame</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.stompexception.html">StompException</a></div>
 <div class="up"><a href="class.stompframe.html">StompFrame</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
